﻿@model Chaine.Models.EventModels
@{
    ViewBag.Title = Model.Title + " Delete Photo";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section maincontent{
    <h2 class="page-header">
        @ViewBag.Title</h2>
    <div class="thumbnail">
        <img  src="@Url.Content("~/events/photo/" + Model.StartDateTime.ToString("yyyyMMdd") + "/photos/" + Url.RequestContext.RouteData.Values["filename"] + ".jpg")"/>
    </div>
    @using (Html.BeginForm())
    {
        <div class="form-actions">
            <input type="submit" value="Delete" class="btn btn-danger" />
            @Html.ActionLink("Cancel", "index", null, new { @class = "btn" })
        </div>
    }
}
@section sidebar{
    @Html.Partial("~/views/shared/_AdminSidebar.cshtml")
}
